<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
      
      <div class="col-sm-2">
      <ul id="navLeftBar" class="nav nav-pills nav-stacked" role="tablist">
      	<li role="presentation" data-tag="myroommates"><a href="<%=request.getContextPath() %>/Roommate/SellRoommate">我的室友</a></li>
      	<li role="presentation" data-tag="roommategroup"><a href="<%=request.getContextPath() %>/Roommate/RoommateGroup">所有寝室</a></li>
      	<li role="presentation" data-tag="chartgroup"><a href="<%=request.getContextPath() %>/Domitory/ShowDomitoryByChart">分组图示</a></li>  	
	  </ul>
	  </div>
	  <script>
    	$(function() {
    		$("#navLeftBar").find("li[data-tag='${tag }']").addClass("active");
    	});
    	</script>
    